export default [
    {
      path: '/admin',
      component: () => import('@/views/admin/AdminDashboard.vue'),
      meta: { requiresAdmin: true },
      children: [
        {
          path: '',
          redirect: 'dashboard'
        },
        {
          path: 'dashboard',
          name: 'AdminDashboard',
          component: () => import('@/views/admin/DashboardHome.vue')
        },
        {
          path: 'users',
          name: 'UserManagement',
          component: () => import('@/views/admin/UserManagement.vue')
        },
        {
          path: 'articles',
          name: 'ArticleManagement',
          component: () => import('@/views/admin/ArticleManagement.vue')
        },
        // {
        //   path: 'ai-projects',
        //   name: 'AIProjectManagement',
        //   component: () => import('@/views/admin/AIProjectManagement.vue')
        // },
        // {
        //   path: 'travel-posts',
        //   name: 'TravelPostManagement',
        //   component: () => import('@/views/admin/TravelPostManagement.vue')
        // }
      ]
    },
    {
      path: '/admin/login',
      name: 'AdminLogin',
      component: () => import('@/views/admin/AdminLogin.vue'),
      meta: { requiresGuest: true }
    }
  ]